import React, { useState } from 'react'
import { View, Text, ScrollView, StyleSheet } from 'react-native';
import { Switch } from '../../components';
import BaseView from '../components/base-view'
const Switchs = () => {
  const [shwo,setShwo] = useState(false)
  return (
    <View style={{ backgroundColor: '#f2f2f2', flex: 1, width: '100%', height: '100%' }}>
      <BaseView title="基础用法">
        <Switch checked={shwo} onChange={setShwo}  size={60}></Switch>
      </BaseView>
      <BaseView title="嵌入内容">
      </BaseView>
    </View>
  )
}

export default Switchs